//
//  HRProductInfo.h
//  haierapp
//
//  Created by Xia Zhiyong on 14-8-21.
//  Copyright (c) 2014年 haier. All rights reserved.
//

#import "JSONModel.h"
#import "HRProSpeInfo.h"

#import "HRGoodsInfo.h"

@protocol HRProductInfo

@end

@interface HRProductInfo : JSONModel

@property(nonatomic,strong) NSString <Optional> *productId;     //商品ID
@property(nonatomic,strong) NSString <Optional> *picMinPath;    //商品缩略图连接
@property(nonatomic,strong) NSString <Optional> *name;          //商品标题
@property(nonatomic,strong) NSNumber <Optional> *goodsAmount;   //商品数量
@property(nonatomic,strong) NSNumber <Optional> *price;         //商品价格
@property(nonatomic,strong) NSArray <Optional,HRProSpeInfo> *proSpeInfo;     //规格信息
@property(nonatomic,strong) NSString <Optional> *favoriteId;  //收藏ID
@property(nonatomic,strong) NSString <Optional> *serchCount; //收藏数量

@property(nonatomic,strong) NSString <Optional> *isDX;  //商品大小件 0：大件 1：小件

//从远程接口获取的产品数据，初始化数据
-(id)initWithGoodsInfo:(HRGoodsInfo *)goodsInfo;
@end
